#include <iostream>
using namespace std;

int main(){
	int num1 = 10;
	int num2 = 100;
 
	int &hnum = num1;
	int *pnum = &num1;
	
	cout<<"num1="<<num1<<",&num1="<<&num1<<endl;
	cout<<"hunm="<<hnum<<",&hnum="<<&hnum<<endl;
	cout<<"*pnum="<<*pnum<<",pnum="<<pnum<<endl;
	
	hnum = num2;
	pnum = &num2;
 
	cout<<"num1="<<num1<<",&num1="<<&num1<<endl;
	cout<<"hunm="<<hnum<<",&hnum="<<&hnum<<endl;
	cout<<"*pnum="<<*pnum<<",pnum="<<pnum<<endl;
	
	return 0;
}
